/*
 * @Author: your name
 * @Date: 2019-12-20 10:03:10
 * @LastEditTime : 2019-12-21 19:22:03
 * @LastEditors  : Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue-admin-template\src\api\account-manage.js
 */
import request from '@/utils/request'

// 查询账号管理信息列表
export function getAdminUserInfoList(params) {
  return request({
    url: '/admin/AdminUser/getAdminUserInfoList',
    method: 'get',
    params
  })
}

// 新增/修改账号信息
export function changeAdminUserInfo(params) {
    return request({
      url: '/admin/AdminUser/changeAdminUserInfo',
      method: 'post',
      params
    })
  }
  
// 修改账号密码
export function changePassword(params) {
  return request({
    url: '/admin/AdminUser/changePassword',
    method: 'post',
    params
  })
}
// 删除账号信息
export function deleteAdminUserInfo(params) {
  return request({
    url: '/admin/AdminUser/deleteAdminUserInfo',
    method: 'post',
    params
  })
}